﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RobotBattle2.Scripting;
using System.IO;

namespace RobotBattle2.Rsl2 {
	public class Rsl2Parser : ScriptParserBase {
		public override Script LoadScript(TextReader reader, string filename) {
			var scanner = new Scanner(reader, filename);
			var parser = new Parser(scanner);
			parser.Parse();
			return parser.Script;
		}
	}
}
